package com.icinema.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.icinema.vo.Rating;

@RemoteServiceRelativePath("user")
public interface RatingServiceAsync {
	void addNewRating(String ratingName,AsyncCallback<String> callback);
	void getRatings(AsyncCallback<List<Rating>> callback);
	void delete(String key, AsyncCallback<Void> callback);
	void deleteRating(String key, AsyncCallback<Message> msg);
}
